package com.stu.provider.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.stu.common.entity.Classes;
import com.stu.common.service.ClassesService;
import com.stu.provider.mapper.ClassesMapeer;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class ClassesServiceImpl implements ClassesService {
    @Autowired
    private ClassesMapeer classesMapeer;
    @Override
    public List<Classes> findAll() {
        return classesMapeer.selectAll();
    }
}
